package com.cn.easy.export.model.excel

import org.apache.poi.ss.usermodel.CellStyle
import org.apache.poi.ss.usermodel.Workbook

/**
 * 单字段导出
 */
data class SingleExcelColumn<Row, Value>(
    override val title: ExcelTitle,
    override val key: String = title.value,
    override val cellStyle: ((Workbook, Row) -> CellStyle?)? = null,
    /**
     * 获取值的方法
     */
    val value: (Row) -> Value,
) : ExcelColumn<Row> {
}
